package com.ktgj.pay.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class MoDelivery implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int deliveryID;
	
	private int deliveryType;
	/**
	 * 快递配送状态(1待配送  2配送中 3已完成)
	 */
	private int expressDeliveryState;
	/**
	 * email发送状态(1未发送 2发送中 3已发送)
	 */
	private int emailState;
	/**
	 * 发票ID，逗号隔开
	 */
	private String invoiceID;
	/**
	 * 物流公司id
	 */
	private int expressCompanyID;
	/**
	 * 物流单号
	 */
	private String trackingNumber;
	/**
	 * 收件人
	 */
	private String consignee;
	/**
	 * 收件地址或电子邮箱
	 */
	private String address;
	/**
	 * 联系电话
	 */
	private String phoneNumber;
	/**
	 * 操作人
	 */
	private String operatorID;
	/**
	 * 电子邮箱
	 */
	private String email;
	/**
	 * 国标行政区ID，用于对配送地址的分类
	 */
	private int districtID;
	/**
	 * 配送时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private Date deliveryTime;
	public int getDeliveryID() {
		return deliveryID;
	}
	public void setDeliveryID(int deliveryID) {
		this.deliveryID = deliveryID;
	}
	public int getDeliveryType() {
		return deliveryType;
	}
	public void setDeliveryType(int deliveryType) {
		this.deliveryType = deliveryType;
	}
	public int getExpressDeliveryState() {
		return expressDeliveryState;
	}
	public void setExpressDeliveryState(int expressDeliveryState) {
		this.expressDeliveryState = expressDeliveryState;
	}
	public int getEmailState() {
		return emailState;
	}
	public void setEmailState(int emailState) {
		this.emailState = emailState;
	}
	public String getInvoiceID() {
		return invoiceID;
	}
	public void setInvoiceID(String invoiceID) {
		this.invoiceID = invoiceID;
	}
	public int getExpressCompanyID() {
		return expressCompanyID;
	}
	public void setExpressCompanyID(int expressCompanyID) {
		this.expressCompanyID = expressCompanyID;
	}
	public String getTrackingNumber() {
		return trackingNumber;
	}
	public void setTrackingNumber(String trackingNumber) {
		this.trackingNumber = trackingNumber;
	}
	public String getConsignee() {
		return consignee;
	}
	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getOperatorID() {
		return operatorID;
	}
	public void setOperatorID(String operatorID) {
		this.operatorID = operatorID;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getDistrictID() {
		return districtID;
	}
	public void setDistrictID(int districtID) {
		this.districtID = districtID;
	}
	public Date getDeliveryTime() {
		return deliveryTime;
	}
	public void setDeliveryTime(Date deliveryTime) {
		this.deliveryTime = deliveryTime;
	}
	public MoDelivery() {
		super();
	}
	public MoDelivery(int deliveryID, int deliveryType, int expressDeliveryState, int emailState, String invoiceID,
                      int expressCompanyID, String trackingNumber, String consignee, String address, String phoneNumber,
                      String operatorID, String email, int districtID, Date deliveryTime) {
		super();
		this.deliveryID = deliveryID;
		this.deliveryType = deliveryType;
		this.expressDeliveryState = expressDeliveryState;
		this.emailState = emailState;
		this.invoiceID = invoiceID;
		this.expressCompanyID = expressCompanyID;
		this.trackingNumber = trackingNumber;
		this.consignee = consignee;
		this.address = address;
		this.phoneNumber = phoneNumber;
		this.operatorID = operatorID;
		this.email = email;
		this.districtID = districtID;
		this.deliveryTime = deliveryTime;
	}
	@Override
	public String toString() {
		return "MoDelivery [deliveryID=" + deliveryID + ", deliveryType=" + deliveryType + ", expressDeliveryState="
				+ expressDeliveryState + ", emailState=" + emailState + ", invoiceID=" + invoiceID
				+ ", expressCompanyID=" + expressCompanyID + ", trackingNumber=" + trackingNumber + ", consignee="
				+ consignee + ", address=" + address + ", phoneNumber=" + phoneNumber + ", operatorID=" + operatorID
				+ ", email=" + email + ", districtID=" + districtID + ", deliveryTime=" + deliveryTime + "]";
	}
	
	
	

}
